#pragma once
#include<iostream>
#define m 20
//#define n 10
using namespace std;
namespace GIS20102
{
	struct course
	{
		char coursename[10];
		int coursescore =100;
	};
	struct student
	{
		char studentname[10];
		int ID[10];
		course c[m];
	};

	void function(student stu[],int n)
	{
		for (size_t i = 0; i < n; i++)
		{
			for (int j = 0; j < m; j++)
			{
				if (stu[i].c[j].coursescore < 60)
				{
					cout << stu[i].ID << endl;
					for (int k = 0; k < m; k++)
					{
						cout << stu[i].c[k].coursename << " " << stu[i].c[k].coursescore<<endl;
					}
					break;
				}
			}
		}
	}
}